import { createSSRApp } from 'vue';
import App from './App.vue';
import pinia from '@/state';
import router from '@/router';

export function createApp() {
    const app = createSSRApp(App);
    app.use(pinia);
    app.use(router);

    return {
        app,
    };
}
